package website.seamonster.ethegg.enums;

import lombok.Getter;

/**
 * Created by 罗海量
 * 2018-07-29 15:36
 */
@Getter
public enum MsgTypeEnum {
    OTHER(0,"其他消息"),
    BUYSUCCESS(1,"购买成功"),
    BUYFAIL(2,"购买失败"),
    SELLSUCCESS(3,"出售成功"),
    PRINCOME(4,"推广码收益"),
    CHICKENDIE(5,"鸡死亡"),
    EGGNOTENOUGH(6,"购买蛋数超过商场当前剩余蛋数"),
    HATCHNOTENOUTH(7,"空闲鸡圈数不足"),
    MONEYINCORRECT(8,"支付金额不正确"),
    PRSELF(9,"不允许使用自己的推广码购买"),
    PRNOTBUY(10,"请购买商品后再能获得使用资格");

    private Integer code;
    private String message;

    MsgTypeEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
